/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bulkmailer.beans;

/**
 *
 * @author ravi
 */
public class ServerSettings {

    private String imapServerAddress = null;
    private int imapPort = -1;
    private String folderName = null;
    private boolean secureAuth = false;
    private boolean takeAllFolders = false;
    private String smtpAddress = null;
    private int smtpPort = -1;

    public ServerSettings(){
        this.imapPort = -1;
        this.folderName = "";
        this.imapServerAddress = "";
        this.secureAuth = false;
    }
    /**
     * @return the imapServerAddress
     */
    public String getImapServerAddress() {
        return imapServerAddress;
    }

    /**
     * @param imapServerAddress the imapServerAddress to set
     */
    public void setImapServerAddress(String imapServerAddress) {
        this.imapServerAddress = imapServerAddress;
    }

    /**
     * @return the imapPort
     */
    public int getImapPort() {
        return imapPort;
    }

    /**
     * @param imapPort the imapPort to set
     */
    public void setImapPort(int imapPort) {
        this.imapPort = imapPort;
    }

    /**
     * @return the folderName
     */
    public String getFolderName() {
        return folderName;
    }

    /**
     * @param folderName the folderName to set
     */
    public void setFolderName(String folderName) {
        this.folderName = folderName;
    }

    /**
     * @return the secureAuth
     */
    public boolean isSecureAuth() {
        return secureAuth;
    }

    /**
     * @param secureAuth the secureAuth to set
     */
    public void setSecureAuth(boolean secureAuth) {
        this.secureAuth = secureAuth;
    }
    @Override
    public String toString(){
        String str = new String();        
        return str;
    }

    /**
     * @return the takeAllFolders
     */
    public boolean isTakeAllFolders() {
        return takeAllFolders;
    }

    /**
     * @param takeAllFolders the takeAllFolders to set
     */
    public void setTakeAllFolders(boolean takeAllFolders) {
        this.takeAllFolders = takeAllFolders;
    }

    /**
     * @return the smtpAddress
     */
    public String getSmtpAddress() {
        return smtpAddress;
    }

    /**
     * @param smtpAddress the smtpAddress to set
     */
    public void setSmtpAddress(String smtpAddress) {
        this.smtpAddress = smtpAddress;
    }

    /**
     * @return the smtpPort
     */
    public int getSmtpPort() {
        return smtpPort;
    }

    /**
     * @param smtpPort the smtpPort to set
     */
    public void setSmtpPort(int smtpPort) {
        this.smtpPort = smtpPort;
    }
}
